<template>
    <!-- like开始   start -->
    <div class="like">
        <div class="py-container w">
            <div class="title">
                <h3>猜你喜欢</h3>
                <a href="">换一换
                    <i class="iconfont icon-shuaxin"></i>
                </a>
            </div>
            <div class="bd">
                <ul>
                    <li>
                        <img src="./img/like_02.png" alt="">
                        <div class="like_bd">
                            <a href="">
                                <p>
                                    阳光美包新款单肩包女包时尚子母包四件套女
                                </p>
                                <span>¥116.00</span>
                            </a>
                        </div>
                    </li>
                        <li>
                            <img src="./img/like_03.png" alt="">
                            <div class="like_bd">
                                <a href="">
                                    <p>
                                        阳光美包新款单肩包女包时尚子母包四件套女
                                    </p>
                                    <span>¥116.00</span>
                                </a>
                            </div>
                        </li>
                    <li>
                        <img src="./img/like_01.png" alt="">
                        <div class="like_bd">
                            <a href="">
                                <p>
                                    阳光美包新款单肩包女包时尚子母包四件套女
                                </p>
                                <span>¥116.00</span>
                            </a>
                        </div>
                    </li>
                    <li>
                        <img src="./img/like_02.png" alt="">
                        <div class="like_bd">
                            <a href="">
                                <p>
                                    阳光美包新款单肩包女包时尚子母包四件套女
                                </p>
                                <span>¥116.00</span>
                            </a>
                        </div>
                    </li>
                    <li>
                        <img src="./img/like_03.png" alt="">
                        <div class="like_bd">
                            <a href="">
                                <p>
                                    阳光美包新款单肩包女包时尚子母包四件套女
                                </p>
                                <span>¥116.00</span>
                            </a>
                        </div>
                    </li>
                    <li>
                        <img src="./img/like_01.png" alt="">
                        <div class="like_bd">
                            <a href="">
                                <p>
                                    阳光美包新款单肩包女包时尚子母包四件套女
                                </p>
                                <span>¥116.00</span>
                            </a>
                        </div>
                    </li>
                </ul>
           
            </div>
        </div>
    </div>
    <!-- like结束   end -->
</template>

<script>
export default {
    name:'Like'
}
</script>

<style scoped lang='less'>
// like开始   start
.like{
    margin-top: 30px;
    .py-container{
        .title{
            display: flex;
            justify-content: space-between;
            h3{
                font-size: 20px;
                line-height: 30px;
                color: #000;
            }
            a{
                line-height: 30px;
                font-size: 12px;
                font-weight: 400;
                color: #666;
                width: 66px;
                height: 25px;
                i{
                    margin-left: 5px;
                    color: red;
                    font-size: 18px;
                    vertical-align: top;
                }
            }
        }
        .bd{
            border: 1px solid #e4e4e4;
            ul{
                display: flex;
                padding: 0 10px;
                box-sizing: border-box;
                justify-content: space-between;
                li{
                    overflow: hidden;
                    display: flex;
                    flex-direction: column;
                    height: 240px;
                    cursor: pointer;
                    width: 16.667%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    &>img:hover{
                        opacity: 0.8;
                        transform: scale(1.1);
                    }
                    .like_bd{
                        width: 142px;
                        border-right: 1px solid #e4e4e4;
                        a{
                            display: block;
                        }
                        p{
                            margin-top: 5px;
                        }
                        span{
                            display: block;
                            color: #df3033;
                            font-size: 20px;
                            line-height: 30px;
                            margin: 9px 0;
                            font-weight: 700;
                        }
                        &>a:hover{
                            color: #666;
                        }
                    }
                }
            }
        }
    }
    
}
// like结束   end
</style>